package ch06;

public class test {
public static void main(String[] args) {
	yinyong y = new yinyong("a");
	
	yinyong[] array = new yinyong[]{y,null};
	System.out.println(y.toString());
	System.out.println(array[0]);
	y.setA("b");
	System.out.println(y);
	System.out.println(array[0]);
	y=null;
	System.out.println(y);
	System.out.println(array[0]);
	
	}
}

